package cn.fancylab.template.service;

import java.util.List;
import java.util.Map;

import cn.fancylab.model.BaseObject;
import cn.fancylab.service.DaoService;

public interface BaseAppService extends DaoService {

	<T extends BaseObject> T getObjectByProperty(Class<T> clazz, Map<String, Object> map);

	<T extends BaseObject> List<T> getObjectListByProperty(Class<T> clazz, Map<String, Object> map);

	<T extends BaseObject> int getObjectCountByProperty(Class<T> clazz, Map<String, Object> map);
}
